package com.stylefeng.guns.modular.verbal.warpper;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

import java.util.Map;

public class QaWarpper extends BaseControllerWarpper {
    public QaWarpper(Object list) {
        super(list);
    }

    public void warpTheMap(Map<String, Object> map){
        String typeName = ConstantFactory.me().getDictNameByNum("verbalType", map.get("typeCode").toString());
        map.put("typeName",typeName);
    }
}
